﻿@code {
    [Inject] NavigationManager Navigation { get; set; }

    protected override void OnInitialized()
    {
        Navigation.NavigateTo($"login?returnUrl={Uri.EscapeDataString("/" + Navigation.ToBaseRelativePath(Navigation.Uri))}");
    }
}
